package tools.yangkl.utils;

import java.util.Collection;
import java.util.Objects;

/**
 * @author yangkl
 * @since 2022/11/30
 **/
public class CollectionUtils {
    private CollectionUtils() {
    }

    public static boolean isEmpty(final Collection<?> collection) {
        return Objects.isNull(collection) || collection.isEmpty();
    }
}
